package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QDistrict is a Querydsl query type for District
 */
public class QDistrict extends EntityPathBase<District> {

    private static final long serialVersionUID = -1516979495;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QDistrict district = new QDistrict("district");

    public final StringPath codeDistrict = createString("codeDistrict");

    public final SetPath<House, QHouse> houses = this.<House, QHouse>createSet("houses", House.class, QHouse.class);

    public final NumberPath<Long> idDistrict = createNumber("idDistrict", Long.class);

    public final StringPath nameDistrict = createString("nameDistrict");

    public final QProvince province;

    public final BooleanPath status = createBoolean("status");

    public QDistrict(String variable) {
        this(District.class, forVariable(variable), INITS);
    }

    public QDistrict(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QDistrict(PathMetadata<?> metadata, PathInits inits) {
        this(District.class, metadata, inits);
    }

    public QDistrict(Class<? extends District> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.province = inits.isInitialized("province") ? new QProvince(forProperty("province")) : null;
    }

}

